try:
    num = input()
    if isinstance(eval(num), (float, complex)):
        num = eval(num)
        square = num ** 2
        print(square)
    elif num.isdigit():
        num = int(num)
        square = num ** 2
        print(square)
    else:
        print("输入有误")
except:
    print("输入有误")



